package com.project;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author zhangyang
 * description:
 */
//功能：配置类，开启自动配置，扫描包
@SpringBootApplication
@EnableScheduling //开启定时任务
@EnableFeignClients //开启feign
@MapperScan(basePackages = "com.project.mapper")
//@EnableSwagger2 //开启swagger服务
public class BackBoot {
    public static void main(String[] args) {
        System.out.println("test");
        SpringApplication.run(BackBoot.class, args);
    }
}
